﻿using Nop.Core.Domain.Customers;
using Nop.Core.Domain.XJ;
using System.Collections.Generic;

namespace Nop.Services.ExportImport
{
	/// <summary>
	/// Export manager interface
	/// </summary>
	public partial interface IExportManager
	{
		/// <summary>
		/// Export customer list to XLSX
		/// </summary>
		/// <param name="customers">Customers</param>
		byte[] ExportCustomersToXlsx(IList<Customer> customers);

		/// <summary>
		/// Export customer list to xml
		/// </summary>
		/// <param name="customers">Customers</param>
		/// <returns>Result in XML format</returns>
		string ExportCustomersToXml(IList<Customer> customers);

		byte[] ExportPlacesToXlsx(IList<XJPlace> places);

		byte[] ExportConsumablesToXlsx(IList<XJEquipmentTemp> places);

		byte[] ExportMaintenanceToXlsx(IList<XJMaintenanceTemp> items);

		byte[] ExportMaintenanceReportByUserToXlsx(IList<MaintenanceReportByUser> items);

		byte[] ExportMaintenanceReportByEquipmentToXlsx(IList<MaintenanceReportByEquipment> items);

		byte[] ExportStockOutReportByEquipmentToXlsx(IList<StockOutReportByEquipment> items);

	}
}
